package com.joinlabs.entity;

public class Topic {
    private Long topicId;

    private String topicName;

    private String topicImgpath;

    private Long topicReadnum;

    private Long topicDiscussnum;

    public Long getTopicId() {
        return topicId;
    }

    public void setTopicId(Long topicId) {
        this.topicId = topicId;
    }

    public String getTopicName() {
        return topicName;
    }

    public void setTopicName(String topicName) {
        this.topicName = topicName == null ? null : topicName.trim();
    }

    public String getTopicImgpath() {
        return topicImgpath;
    }

    public void setTopicImgpath(String topicImgpath) {
        this.topicImgpath = topicImgpath == null ? null : topicImgpath.trim();
    }

    public Long getTopicReadnum() {
        return topicReadnum;
    }

    public void setTopicReadnum(Long topicReadnum) {
        this.topicReadnum = topicReadnum;
    }

    public Long getTopicDiscussnum() {
        return topicDiscussnum;
    }

    public void setTopicDiscussnum(Long topicDiscussnum) {
        this.topicDiscussnum = topicDiscussnum;
    }

	@Override
	public String toString() {
		return "Topic [topicId=" + topicId + ", topicName=" + topicName + ", topicImgpath=" + topicImgpath
				+ ", topicReadnum=" + topicReadnum + ", topicDiscussnum=" + topicDiscussnum + "]";
	}
    
}